package com.jmarstudios.tutorial.customfont;

import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate( final Bundle savedInstanceState ) {
        super.onCreate( savedInstanceState );
        this.setContentView( R.layout.main );

        Typeface tf = Typeface.createFromAsset( getAssets(), "fonts/cheyenne_1.ttf" );
        TextView tv = (TextView)findViewById( R.id.textViewCustom );
        tv.setTypeface( tf );
    }
}